package edu.spec.wechat.service.impl;

import edu.spec.wechat.dao.iface.ISignInSumDao;
import edu.spec.pms.model.student.SignInSum;
import edu.spec.wechat.service.iface.ISignInSumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by MadFrog on 2016/11/1.
 */
@Service("signInSumService")
public class SignInSumService implements ISignInSumService {
    @Autowired
    private ISignInSumDao signInSumDao;
    @Override
    public SignInSum loadByOpenId(String openId) {
        return signInSumDao.loadByOpenId(openId);
    }

    @Override
    public void update(SignInSum sis) {
        signInSumDao.update(sis);
    }
}
